package com.example.wastes.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wastes.common.pojo.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface AdminService extends IService<Admin> {
    Admin tologin(String username);
    List<Admin> findAdminName(String username);

    int saveAdmin(@Param("username") String username, @Param("password") String password);
}
